<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SC2API: sc2::PropertyReader Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="SC2-Logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SC2API
   </div>
   <div id="projectbrief">An API for AI for StarCraft II</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>sc2</b></li><li class="navelem"><a class="el" href="classsc2_1_1_property_reader.html">PropertyReader</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classsc2_1_1_property_reader-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">sc2::PropertyReader Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a7a4208dfe64603c80bfd64951e1663f1"><td class="memItemLeft" align="right" valign="top"><a id="a7a4208dfe64603c80bfd64951e1663f1"></a>
typedef std::unordered_map&lt; std::string, std::string &gt;::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>ConstMapIterator</b></td></tr>
<tr class="separator:a7a4208dfe64603c80bfd64951e1663f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09af7340bd61f0c7048556221fb1a75e"><td class="memItemLeft" align="right" valign="top"><a id="a09af7340bd61f0c7048556221fb1a75e"></a>
typedef std::unordered_map&lt; std::string, std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>PropertiesMap</b></td></tr>
<tr class="separator:a09af7340bd61f0c7048556221fb1a75e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac7d87a12408c79c3c5474461811a19b5"><td class="memItemLeft" align="right" valign="top"><a id="ac7d87a12408c79c3c5474461811a19b5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>PropertyReader</b> (const std::string &amp;file_name)</td></tr>
<tr class="separator:ac7d87a12408c79c3c5474461811a19b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c436f5309efb9fff160988558c2196f"><td class="memItemLeft" align="right" valign="top"><a id="a2c436f5309efb9fff160988558c2196f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsLoaded</b> () const</td></tr>
<tr class="separator:a2c436f5309efb9fff160988558c2196f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac41f39e7288dc81504f3957c31ab6cdd"><td class="memItemLeft" align="right" valign="top"><a id="ac41f39e7288dc81504f3957c31ab6cdd"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>LoadFile</b> (const std::string &amp;file_name)</td></tr>
<tr class="separator:ac41f39e7288dc81504f3957c31ab6cdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8b4b1b57085f4625e506fb3f69d5983"><td class="memItemLeft" align="right" valign="top"><a id="ac8b4b1b57085f4625e506fb3f69d5983"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Free</b> ()</td></tr>
<tr class="separator:ac8b4b1b57085f4625e506fb3f69d5983"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf6303ea57e5fedf982ff71541164e79"><td class="memItemLeft" align="right" valign="top"><a id="adf6303ea57e5fedf982ff71541164e79"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>Read</b> (const std::string &amp;key, std::function&lt; void(const std::string &amp;v)&gt; convert)</td></tr>
<tr class="separator:adf6303ea57e5fedf982ff71541164e79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab046f877ea5d9667ad2a55c23ca67ce9"><td class="memItemLeft" align="right" valign="top"><a id="ab046f877ea5d9667ad2a55c23ca67ce9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ReadInt</b> (const std::string &amp;key, int &amp;value)</td></tr>
<tr class="separator:ab046f877ea5d9667ad2a55c23ca67ce9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8319f9c74de8f016ca48edd50470d148"><td class="memItemLeft" align="right" valign="top"><a id="a8319f9c74de8f016ca48edd50470d148"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ReadFloat</b> (const std::string &amp;key, float &amp;value)</td></tr>
<tr class="separator:a8319f9c74de8f016ca48edd50470d148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af056bbbee4b1427d8f5c07371ccf71d6"><td class="memItemLeft" align="right" valign="top"><a id="af056bbbee4b1427d8f5c07371ccf71d6"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ReadString</b> (const std::string &amp;key, std::string &amp;value)</td></tr>
<tr class="separator:af056bbbee4b1427d8f5c07371ccf71d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/sc2utils/<a class="el" href="sc2__property__reader_8h_source.html">sc2_property_reader.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
